package com.atguigu.spzx;

import com.atguigu.spzx.common.anno.EnableMyGlobalExceptionHandler;
import com.atguigu.spzx.common.log.annotation.EnableLogAspect;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.spzx.manager.mapper")
@EnableMyGlobalExceptionHandler
@EnableConfigurationProperties()    
@EnableScheduling
@EnableLogAspect
public class ManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class , args) ;
    }

}